from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'serwer.views.home', name='home'),
    # url(r'^serwer/', include('serwer.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
    
    (r'^serwerHttp/', include('serwer.serwerHttp.urls')),
)


urlpatterns += patterns('serwer.filesonline.views',
    (r'^login$', 'login'),
    # parametry dolaczone do GET'a
    (r'^logout$', 'logout'),
    (r'^get_profiles$', 'get_profiles'),
    (r'^list_profile$', 'list_profile'),
    (r'^upload$', 'upload'),
    (r'^download$', 'download'),
    (r'^download_body$', 'download_body'),
    (r'^versioning$', 'versioning')    
)
